{% extends "baseMenu.html" %}
{% load crispy_forms_tags %}

{% block content %}
        <div class="sombraTabla" align="center">
	        <table style="text-align: left; height: 100%;border: 3px solid rgb(0,0,0); padding:10px; box-shadow: 0px 0px 10px 10px rgba(70,70,70, 0.4) inset;background-color:rgb(255,255,255);">	        	
	        	<tr><td>
	        		<p>Cambiar contraseña de usuario {{ user }}</p>
	        		<form class="uniForm" method="post">{% crispy form %}</form>
        		</td></tr>
            	{% if error %} <tr><td style="text-align: center;"><font color="red" size=2>Error: {{ error }}</font></td></tr>{% endif %}
	      	</table>
			<script type="text/javascript">document.getElementById("id_oldPassword").focus();</script>
		</div>
{% endblock %}
